package slim3.model
{
	import com.google.appengine.api.datastore.Key;

	public class SampleModelCreator
	{
		public function SampleModelCreator()
		{
		}
		
		public static function getKey():Key {
			var key:Key = new Key();
			key.kind = "SampleModel";
			key.name = "key1";
			return key;
		}
		
		public static function getModel(value:String):SampleModel {
			var model:SampleModel  = new SampleModel();
			
			model.key = getKey();
			model.text = value;
			
			return model;
		}
	}
}